﻿using System;
namespace HHModel
{
	/// <summary>
	/// News:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class News
	{
		public News()
		{}
		#region Model
		private int _id;
		private int? _newclassid;
		private string _newclassname;
		private string _title;
		private string _newcontent;
		private string _newsource;
		private string _author;
		private DateTime? _publishtime;
		private int? _clickrate;
		private int? _sort=0;
		private int? _status=1;
		private string _creater;
		private DateTime? _createtime;
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 新闻类别ID
		/// </summary>
		public int? NewClassID
		{
			set{ _newclassid=value;}
			get{return _newclassid;}
		}
		/// <summary>
		/// 新闻类别名称
		/// </summary>
		public string NewClassName
		{
			set{ _newclassname=value;}
			get{return _newclassname;}
		}
		/// <summary>
		/// 新闻标题
		/// </summary>
		public string Title
		{
			set{ _title=value;}
			get{return _title;}
		}
		/// <summary>
		/// 新闻内容
		/// </summary>
		public string NewContent
		{
			set{ _newcontent=value;}
			get{return _newcontent;}
		}
		/// <summary>
		/// 新闻来源
		/// </summary>
		public string NewSource
		{
			set{ _newsource=value;}
			get{return _newsource;}
		}
		/// <summary>
		/// 作者
		/// </summary>
		public string Author
		{
			set{ _author=value;}
			get{return _author;}
		}
		/// <summary>
		/// 发布时间
		/// </summary>
		public DateTime? PublishTime
		{
			set{ _publishtime=value;}
			get{return _publishtime;}
		}
		/// <summary>
		/// 点击量
		/// </summary>
		public int? ClickRate
		{
			set{ _clickrate=value;}
			get{return _clickrate;}
		}
		/// <summary>
		/// 排序号
		/// </summary>
		public int? Sort
		{
			set{ _sort=value;}
			get{return _sort;}
		}
		/// <summary>
		/// 状态（0：前台不显示1：前台显示）
		/// </summary>
		public int? Status
		{
			set{ _status=value;}
			get{return _status;}
		}
		/// <summary>
		/// 创建人
		/// </summary>
		public string Creater
		{
			set{ _creater=value;}
			get{return _creater;}
		}
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime? CreateTime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		#endregion Model

	}
}

